<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/tableLayout.css" rel="stylesheet" type="text/css" />
        <title>Facelets Template</title>
    </h:head>

    <h:body>
        <ui:insert name="top">
            <p:menubar>
                <p:submenu label="Funcionario" icon="ui-icon-document">
                    <p:menuitem value="Novo" url="#" />
                    <p:menuitem value="Alterar" url="#" />
                    <p:menuitem value="Consultar" url="#" />
                    <p:menuitem value="Excluir" url="#" />
                </p:submenu>

                <p:submenu label="Cliente" icon="ui-icon-document">
                    <p:menuitem value="Novo" url="#" />
                    <p:menuitem value="Alterar" url="#" />
                    <p:menuitem value="Consultar" url="#" />
                    <p:menuitem value="Excluir" url="#" />
                </p:submenu>

                <p:submenu label="Fornecedor" icon="ui-icon-document">
                    <p:menuitem value="Novo" url="#" />
                    <p:menuitem value="Alterar" url="#" />
                    <p:menuitem value="Consultar" url="#" />
                    <p:menuitem value="Excluir" url="#" />
                </p:submenu>

                <p:submenu label="Conta" icon="ui-icon-document">
                    <p:menuitem value="Cadatrar" url="#" />
                    <p:menuitem value="Alterar" url="#" />
                    <p:menuitem value="Excluir" url="#" />
                    <p:menuitem value="A receper" url="#" />
                    <p:menuitem value="A pagar" url="#" />
                </p:submenu>

                <p:submenu label="Prestação de serviços" icon="ui-icon-document">
                    <p:menuitem value="Serviços" url="#" />
                    <p:menuitem value="Produtos" url="#" />
                    <p:menuitem value="Pedidos" url="#" />
                </p:submenu>

                <p:submenu label="Relatórios" icon="ui-icon-pencil">
                    <p:menuitem value="Serviços" url="#" />
                    <p:menuitem value="Produtos" url="#" />
                    <p:menuitem value="Pedidos" url="#" />
                </p:submenu>

                <p:menuitem value="Sair" url="http://www.primefaces.org" icon="ui-icon-close" />
            </p:menubar>
        </ui:insert>
        <p:layout fullPage="true"> 
            <p:layoutUnit position="south" size="100" header="Bottom" resizable="true" closable="true" collapsible="true">  
                <h:outputText value="South unit content." />  
                <ui:insert name="bottom">Bottom</ui:insert>
            </p:layoutUnit>  
            <p:layoutUnit position="center">  
                <h:form>  s
                    This fullPage layout consists of five different layoutUnits which are resizable and closable by default.  
                    <ui:insert name="content">Content</ui:insert>
                </h:form>  
            </p:layoutUnit>  

        </p:layout>
    </h:body>
</html>
